﻿using System;
using System.Collections.Generic;

namespace Data
{
    public interface IDataService<T>
    {
        T Add(object obj);
        T Save(object obj);
        T GetByPrimaryKey(object obj);
        T GetByPrimaryKey(Guid guid);
        List<T> GetList();
    }
}
